
<div class="row block-main-title">
    <div class="col-md-12 title img-responsive">
        Sản phẩm 1
    </div>
    <div class="block-main-title-right text-right">
             <label>[+] <span> <a href="<?php echo base_url('pages/news'); ?>">xem tất cả </a></span>&raquo;</label>
    </div>
</div>
<div class="row">
    <div class="col-md-12 products">
        <?php foreach ($products as $item): ?>
        <div class="col-md-4 col-sm-4 products-item">
            <div class="img">
                <img src="<?php echo $item['image'] ?>" width="100%" class="img-thumbnail">
                <p class="detail">
                    <a href="<?php echo base_url("pages/detail_products/".$this->my_utilities->seo_string_to_url($item['name'].'-'.$item['id']).WEB_EXTENSION); ?>">
                        Chi tiết &raquo;
                    </a>
                </p>
            </div>
            <div class="name " >
                <p>
                    <a href="<?php echo base_url("pages/detail_products/".$this->my_utilities->seo_string_to_url($item['name'].'-'.$item['id']).WEB_EXTENSION); ?>">
                        <?php  echo $item['name'] ?>
                    </a>
                </p>
           </div>
        </div>
        <?php endforeach; ?>
        
        <?php foreach ($products as $item): ?>
        <div class="col-md-4 col-sm-4 products-item">
            <div class="img">
                <img src="<?php echo $item['image'] ?>" width="100%" class="img-thumbnail">
                <p class="detail">
                    <a href="<?php echo base_url("pages/detail_products/".$this->my_utilities->seo_string_to_url($item['name'].'-'.$item['id']).WEB_EXTENSION); ?>">
                        Chi tiết &raquo;
                    </a>
                </p>
            </div>
            <div class="name text-center">
                <p>
                    <a href="<?php echo base_url("pages/detail_products/".$this->my_utilities->seo_string_to_url($item['name'].'-'.$item['id']).WEB_EXTENSION); ?>">
                        <?php  echo $item['name'] ?>
                    </a>
                </p>
            </div>
        </div>
        <?php endforeach; ?>
    </div>
</div>


<div class="row block-main-title" style="position: relative;">
    <div class="col-md-12 title img-responsive">Sản phẩm 2</div>
    <div class="col-md-4 block-main-title-right text-right"><label><span></span></label></div>
</div>
<div class="row ">
    <div class="col-md-12 products">
         <?php foreach ($products as $item): ?>
        <div class="col-md-4 col-sm-4 products-item">
            <div class="img">
                <img src="<?php echo $item['image'] ?>" width="100%" class="img-thumbnail">
                <p class="detail">
                    <a href="<?php echo base_url("pages/detail_products/".$this->my_utilities->seo_string_to_url($item['name'].'-'.$item['id']).WEB_EXTENSION); ?>">
                        Chi tiết &raquo;
                    </a>
                </p>
            </div>
            <div class="name text-center">
                <p>
                    <a href="<?php echo base_url("pages/detail_products/".$this->my_utilities->seo_string_to_url($item['name'].'-'.$item['id']).WEB_EXTENSION); ?>">
                        <?php  echo $item['name'] ?>
                    </a>
                </p>
            </div>
        </div>
        <?php endforeach; ?>
    </div>
</div>


